package com.qm.console.controller.dto.version;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Auther: yilu
 * @Date: 2019/1/15 11:49
 * @Description:
 */
public class VersionDTO {
    @JSONField(name = "phone_type")
    private Byte phoneType;
    private String version;
    @JSONField(name = "webview_version")
    private String webviewVersion;
    @JSONField(name = "update_desc")
    private String updateDesc;
    @JSONField(name = "force_update")
    private Integer forceUpdate;
    @JSONField(name = "version_url")
    private String versionUrl;
    @JSONField(name = "version_ignore")
    private String versionIgnore;
    @JSONField(name = "app_name")
    private String appName;
    @JSONField(name = "app_icon")
    private String appIcon;
    @JSONField(name = "app_desc")
    private String appDesc;
    @JSONField(name = "app_channel")
    private AppChannelListDTO appChannel;
    @JSONField(name = "app_package")
    private String appPackage;

    public VersionDTO() {
    }

    public VersionDTO(Byte phoneType, String version, String appPackage) {
        this.phoneType = phoneType;
        this.version = version;
        this.appPackage = appPackage;
    }

    public AppChannelListDTO getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(AppChannelListDTO appChannel) {
        this.appChannel = appChannel;
    }

    public String getWebviewVersion() {
        return webviewVersion;
    }

    public void setWebviewVersion(String webviewVersion) {
        this.webviewVersion = webviewVersion;
    }

    public Byte getPhoneType() {
        return phoneType;
    }

    public void setPhoneType(Byte phoneType) {
        this.phoneType = phoneType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUpdateDesc() {
        return updateDesc;
    }

    public void setUpdateDesc(String updateDesc) {
        this.updateDesc = updateDesc;
    }

    public Integer getForceUpdate() {
        return forceUpdate;
    }

    public void setForceUpdate(Integer forceUpdate) {
        this.forceUpdate = forceUpdate;
    }

    public String getVersionUrl() {
        return versionUrl;
    }

    public void setVersionUrl(String versionUrl) {
        this.versionUrl = versionUrl;
    }

    public String getVersionIgnore() {
        return versionIgnore;
    }

    public void setVersionIgnore(String versionIgnore) {
        this.versionIgnore = versionIgnore;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppIcon() {
        return appIcon;
    }

    public void setAppIcon(String appIcon) {
        this.appIcon = appIcon;
    }

    public String getAppDesc() {
        return appDesc;
    }

    public void setAppDesc(String appDesc) {
        this.appDesc = appDesc;
    }

    public String getAppPackage() {
        return appPackage;
    }

    public void setAppPackage(String appPackage) {
        this.appPackage = appPackage;
    }
}
